#!/usr/bin/env python
# coding=utf-8
"""
# @Created on : 2016/04/21 8:29
# @Author     : ldf (ldf@eehello.com)
# @Link       : http://www.eehello.com
# @Version    : 
# 本程序在python2.7下测试通过
"""

import socket

client = socket.socket()

ip_port = ('127.0.0.1', 9999)

client.connect(ip_port)
data = client.recv(1024)
print data
